<?php // no direct access
defined('_JEXEC') or die('Restricted access'); ?>
<ul class="latestnews<?php echo $params->get('moduleclass_sfx'); ?>">
<?php foreach ($list as $item) :  ?>
	<li class="latestnews<?php echo $params->get('moduleclass_sfx'); ?>">
		<a href="<?php echo $item->link; ?>" class="latestnews<?php echo $params->get('moduleclass_sfx'); ?>">
			<?php echo $item->article->title; ?></a><br/>
			<? echo JHTML::_('date', $item->article->created, JText::_('DATE_FORMAT_LC4')); ?>
			<?php if ($item->article->category) : ?>
				| 
				<?php echo '<a href="'.JRoute::_(ContentHelperRoute::getMedioRoute($item->article->medid, $item->article->catslug, $item->article->sectionid)).'">'; ?>
				<?php echo $item->article->category; ?>
				<?php echo '</a>'; ?>
			<?php endif; ?>
			<?php if ($item->article->medio) : ?>
				| 
				<?php echo '<a href="'.JRoute::_(ContentHelperRoute::getMedioRoute($item->article->medid, $item->article->catslug, $item->article->sectionid)).'">'; ?>
				<?php echo $item->article->medio; ?>
				<?php echo '</a>'; ?>
			<?php endif; ?>
			<?php if ($item->article->programa) : ?>
				| 
				<?php echo '<a href="'.JRoute::_(ContentHelperRoute::getMedioRoute($item->article->medid, $item->article->catslug, $item->article->sectionid)).'">'; ?>
				<?php echo $item->article->programa; ?>
				<?php echo '</a>'; ?>
			<?php endif; ?>
			<?php if ($item->article->area) : ?>
				| 
				<?php echo '<a href="'.JRoute::_(ContentHelperRoute::getMedioRoute($item->article->medid, $item->article->catslug, $item->article->sectionid)).'">'; ?>
				<?php echo $item->article->area; ?>
				<?php echo '</a>'; ?>
			<?php endif; ?>
	</li>
<?php endforeach; ?>

</ul>